home *** CD-ROM | disk | FTP | other *** search
- property sprPrim, sprUlt
-
- on getBehaviorDescription
- return "Fotos Ini FrameScript"
- end
-
- on getPropertyDescriptionList
- set p_list = [ ¬
- #sprPrim: [ #comment: "Primeiro sprite a scrollar", ¬
- #format: #integer, ¬
- #default: 0 ], ¬
- #sprUlt: [ #comment: "Ultimo sprite a scrollar", ¬
- #format: #integer, ¬
- #default: 0] ¬
- ]
- return p_list
- end
-
- on enterFrame me
- set largura = 0
- repeat with i = sprPrim to sprUlt
- set largura = largura + the width of sprite i
- end repeat
- set posicao = 0
- repeat with i = sprPrim to sprUlt
- sendSprite(i, #inicializaPosicao, largura, posicao)
- set posicao = posicao + the width of sprite i
- end repeat
- end
-
-